Optimal. Leaf size=114 \[ \frac{3 A b \sin (c+d x) \, _2F_1\left (-\frac{7}{6},\frac{1}{2};-\frac{1}{6};\cos ^2(c+d x)\right )}{7 d \sqrt{\sin ^2(c+d x)} (b \cos (c+d x))^{7/3}}+\frac{3 B \sin (c+d x) \, _2F_1\left (-\frac{2}{3},\frac{1}{2};\frac{1}{3};\cos ^2(c+d x)\right )}{4 d \sqrt{\sin ^2(c+d x)} (b \cos (c+d x))^{4/3}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0971097, antiderivative size = 114, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 31, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.097, Rules used = {16, 2748, 2643} \[ \frac{3 A b \sin (c+d x) \, _2F_1\left (-\frac{7}{6},\frac{1}{2};-\frac{1}{6};\cos ^2(c+d x)\right )}{7 d \sqrt{\sin ^2(c+d x)} (b \cos (c+d x))^{7/3}}+\frac{3 B \sin (c+d x) \, _2F_1\left (-\frac{2}{3},\frac{1}{2};\frac{1}{3};\cos ^2(c+d x)\right )}{4 d \sqrt{\sin ^2(c+d x)} (b \cos (c+d x))^{4/3}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 16
Rule 2748
Rule 2643
Rubi steps
\begin{align*} \int \frac{(A+B \cos (c+d x)) \sec ^2(c+d x)}{(b \cos (c+d x))^{4/3}} \, dx &=b^2 \int \frac{A+B \cos (c+d x)}{(b \cos (c+d x))^{10/3}} \, dx\\ &=\left (A b^2\right ) \int \frac{1}{(b \cos (c+d x))^{10/3}} \, dx+(b B) \int \frac{1}{(b \cos (c+d x))^{7/3}} \, dx\\ &=\frac{3 A b \, _2F_1\left (-\frac{7}{6},\frac{1}{2};-\frac{1}{6};\cos ^2(c+d x)\right ) \sin (c+d x)}{7 d (b \cos (c+d x))^{7/3} \sqrt{\sin ^2(c+d x)}}+\frac{3 B \, _2F_1\left (-\frac{2}{3},\frac{1}{2};\frac{1}{3};\cos ^2(c+d x)\right ) \sin (c+d x)}{4 d (b \cos (c+d x))^{4/3} \sqrt{\sin ^2(c+d x)}}\\ \end{align*}
Mathematica [A] time = 0.180191, size = 89, normalized size = 0.78 \[ \frac{3 b^2 \sqrt{\sin ^2(c+d x)} \cot (c+d x) \left (4 A \, _2F_1\left (-\frac{7}{6},\frac{1}{2};-\frac{1}{6};\cos ^2(c+d x)\right )+7 B \cos (c+d x) \, _2F_1\left (-\frac{2}{3},\frac{1}{2};\frac{1}{3};\cos ^2(c+d x)\right )\right )}{28 d (b \cos (c+d x))^{10/3}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.25, size = 0, normalized size = 0. \begin{align*} \int{ \left ( A+B\cos \left ( dx+c \right ) \right ) \left ( \sec \left ( dx+c \right ) \right ) ^{2} \left ( b\cos \left ( dx+c \right ) \right ) ^{-{\frac{4}{3}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (B \cos \left (d x + c\right ) + A\right )} \sec \left (d x + c\right )^{2}}{\left (b \cos \left (d x + c\right )\right )^{\frac{4}{3}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (B \cos \left (d x + c\right ) + A\right )} \left (b \cos \left (d x + c\right )\right )^{\frac{2}{3}} \sec \left (d x + c\right )^{2}}{b^{2} \cos \left (d x + c\right )^{2}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (B \cos \left (d x + c\right ) + A\right )} \sec \left (d x + c\right )^{2}}{\left (b \cos \left (d x + c\right )\right )^{\frac{4}{3}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]